#include<chrono>
#include<memory>
#include"rclcpp/rclcpp.hpp"
#include"std_msgs/msg/string.hpp"

using namespace std::chrono_literals;

class MyPublisher:public rclcpp::Node{
private:
    int count;
    void timer_callback();
    rclcpp::TimerBase::SharedPtr timer;
    rclcpp::Publisher<std_msgs::msg::String>::SharedPtr publisher;
public:
    MyPublisher();
    virtual ~MyPublisher(){};
};